home *** CD-ROM | disk | FTP | other *** search
- 'Extended Properties Information VBScript
- 'Version 1.5
- 'Created 4th June 2002
- 'Last Modified 19th March 2003
- 'Copyright 2003, Rowan Gillson
- 'Not redistrubtable without express permission from author.
- 'Suitable for Windows 2000/Windows XP only.
- '
- '
- 'comments to r_gillson@hotmail.com or ICQ # 14894674
-
- Contents:
- 1. Install Notes.
- 1.1 General Notes
- 1.2 Usage Notes
- 1.3 ExtendedProps Notes
- 1.4 ExtendedDrive Notes
- 1.5 Script Execution Notes
- 2. Version History.
- 3. Credits
-
- IMPORTANT NOTE!
- ExtendedProps 1.5 and ExtendedDrive 1.5 do not work with versions of Serious
- Samurize prior to 0.85b
-
-
- -----------------------------------------------------------
-
-
- 1. Install Notes.
-
- ---------------------------1.1-----------------------------
- This package is distributed as a ZIP archive. Please extract directly into your
- Samurize scripts folder. After extracting files. Open Samurize and add the scripts
- to your config by choosing 'ExtendedProps' or 'ExtendedDrive' from the list of
- available scripts.
-
- ExtendedProps is a script for providing additional information to Samurize that are
- not included within the standard Samurize meters. Some examples of info you can
- include are; display resolution, IP address, OS version and Service Pack, video
- memory, cpu clock speed, cpu multiplier and many more.
-
- ExtendedDrive is a script for providing additional information to Samurize about
- your fixed and removable disks. Some examples of info you can include are
-
-
- ---------------------------1.2-----------------------------
- Another option available now is the ability to monitor a remote computer and display
- information across a network. From version 0.85b of Serious Samurize, when u select a
- function from the list after selecting ExtendedProps or ExtendedDrive as your
- ActiveScript, you will be prompted with an input box in which you type in the
- name of your computer, or that of another computer on your local area network.
- If you are unsure of the network name of your computer, try adding the "ComputerName"
- function as your meter first and click the "Test Script" button. This will display
- your computers network name which you can use in the input box for the other functions.
-
- NOTE: All but the following list of functions require the input box variable to be
- entered. Functions not requiring parameter are: UserName, ComputerName, DomainName and
- PrimaryGroup. For advanced users this means you cannot use these functions on another
- computer on your network (not that it would make sense to anyway).
-
-
- ---------------------------1.3-----------------------------
- When using the ExtendedProps script you are prompted with 2 parameters for the IPAddress
- function. The first parameter you are required to enter is the computername, see above
- section 1.2 on determining your computer name. Secondly your are asked for a parameter
- labelled "NICIndex" this feature is used for when you have more than one physical network
- card located in your computer or the remote computer you are monitoring. By default you
- should set this as "1". This will tell the script to you your first available network card.
- If you wish to get the IP address of a second network card, change the index number to be
- any other positive integer. If the NICIndex number is invalid you will receive an error
- message.
-
-
- ---------------------------1.4-----------------------------
- When using the ExtendedDrive script you are prompted with 2 parameters on all functions
- excluding the last three (3) which are local scripts only and cannot be used on a remote
- computer.
-
- The first parameter is the name of the computer you wish to monitor, you can use your local
- machine name or the name of another computer on your network. The second parameter is the
- drive index number.
-
- The drive index numbers start from zero (0) and each PHYSICAL drive is given an index number
- that is incremented from the first. ie. Physical Drive C: is DriveIndex 0, Physical Drive D:
- is DriveIndex 1, etc, etc. The emphasis here is on physical drives, if you have paritioned
- your hard drive into logical disks then each subsequent partition other than the first will
- not receive a DriveIndex and cannot be monitored.
-
-
- ---------------------------1.5-----------------------------
- When configuring Samurize, it is recommended that you set your script run frequency
- to a value greater than 10 minutes. I recommend running these script functions once
- every half hour or greater. I also recommend that should you choose to use all of the
- included script functions, that you randmoize the interval at which these functions
- are executed so that no more than 3 functions ever run at the same interval, running
- all the functions at the same interval may cause small system performance decrease
- during the period that the functions execute.
-
-
- -----------------------------------------------------------
-
-
- 2. Version History
-
- 1.5 Rewrote all functions to now support parameter parsing from Samurize. WMI query
- moved into sub procedure and new "ComputerName" variable added which is parsed from
- Samurize to allow monitoring of local or remote computers. Added support for more than
- one network interface by entering the NICIndex parameter as an integer.
-
- BUGFIX: Fixed one of the sub Functions for PrimaryGroup to now be private else it
- was showing up in the list of available scripts in Samurize 0.85b
-
- 1.4a BUGFIX: Fixed some drive functions causing error in Samurize.
-
- 1.4 Added overclocking info for FSB and Multiplier.
-
- 1.3 Modified script to reduce lines of code by handling WMI queries better.
- Added ability to poll WMI info for remote computers on network for a large number
- of functions. Just change the 'strComputer' variable from "." to "computername" to
- make this work. Once Samurize has the option of parsing variables to VBScripts this will
- no longer be required. Removed Installer.vbs. You can now copy ExtendedDriveInfo and
- replace 'strDriveLetter' variable with the letter of other drives you wish to monitor.
- Might seem like a step back but did not feel like re-writing Installer.vbs to handle all
- the code changes to to the script.
-
- BUGFIX: Changed CPUSpeed function from CurrentClockSpeed to MaxClockSpeed to handle
- problem with Intel Pentium III processor not displaying true clock speed.
-
- 1.2 Added additional network information, drive information, environment information
- and CPU information functions. Created installer for additional drive information
- functions. Installer creates individual scripts for each drive. Was going to add support
- for total upload/download on Network Interfaces but under advisement from Cure have left
- this info alone because of native implmentation in coming versions of Samurize.
-
- NOTE: The function PrimaryGroup() will only work on systems that are a member of a network
- domain eg. Windows NT based domain or Windows 2000 Active Directory based domain.
-
-
- 1.1 Added CPU information and video display information functions
-
- 1.0 Rewrote GetIP script and released as ExtendedProps 1.0
-
-
- -----------------------------------------------------------
-
-
- 3. Credits
-
- Thanks to help from MS Newsgroup posters for help with getting workgroup info for 1.2,
- thanks also to Win32 Scripting for resources on getting Primary Group info for 1.2,
- thanks to Mardagg and Nahaz for great ideas for version 1.2and last but not least, special
- thanks to Cure & Sim for writing such an awesome program that we can all have fun with.